const Layout = () => import('@/layout/index.vue')
export default [
  {
    path: '/login',
    name: 'Login',
    component: () => import('@/views/login/index.vue'),
    meta: {
      icon: 'ri/information-line',
      title: '登录'
    }
  },
  {
    path: '/redirect',
    name: 'Redirect',
    component: Layout,
    meta: {
      icon: 'ri/information-line',
      title: '加载中...'
    },
    children: [
      {
        path: '/redirect/:path(.*)',
        name: 'RedirectPath',
        component: () => import('@/layout/redirect.vue'),
        meta: {
          icon: 'ri/information-line',
          title: '加载中...'
        }
      }
    ]
  }
] satisfies RouteConfigsTable[]
